package Month07.day21;

import java.util.Arrays;

public class test1 {
    public static void main(String[] args) {
        int[] ints = new int[20];
        ints[0]=1;
        ints[1]=1;
        for (int i = 2; i < ints.length; i++) {
            ints[i]=ints[i-1]+ints[i-2];
        }
        int sum=0;
        for (int i = 0; i < ints.length; i++) {
             sum+=ints[i];
        }
        System.out.println(sum);
    }
}
